package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("处理结果Dto")
public class ProcessingResultDto {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "处理结果")
    private String processingResult;

    @JsonFormat(
            pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",  // 匹配 "2025-10-23T16:00:00.000Z"
            timezone = "GMT+8"  // 可选，根据业务时区设置（如东八区），避免时区偏移
    )
    @ApiModelProperty(value = "处理时间")
    private LocalDateTime processingTime;
}
